#!/usr/bin/python

import wx

class MainPanel(wx.Panel):

	def __init__(me,parent):
		wx.Panel.__init__(me,parent)		
		me.button = wx.Button(me,wx.ID_ANY,"Button", (25, 50))
		me.Bind(wx.EVT_BUTTON, me.OnClick, me.button)
		
	def OnClick(me,e):
		pass

		
class MainFrame(wx.Frame):

	def __init__(me):
			
		wx.Frame.__init__(me,parent=None)
		MainPanel(parent=me)
		

app = wx.PySimpleApp()
frame = MainFrame()
frame.Show()
frame.Centre()
app.MainLoop()